<template>
  <q-layout view='hHh LpR fFf'>

    <q-header reveal elevated class='bg-primary text-white'>

      <q-toolbar>
        <q-toolbar-title>
          <q-avatar>
            <img alt='加载失败' :src='logo'>
          </q-avatar>
          物流管理系统
        </q-toolbar-title>
      </q-toolbar>

    </q-header>

    <q-page-container>
      <router-view />
    </q-page-container>

  </q-layout>
</template>

<script lang='ts'>
import { defineComponent } from 'vue';
import _logo from 'assets/logo-white.svg';

const logo = _logo as string;

export default defineComponent({
  name: 'AuthLayout',
  setup() {
    return {
      logo
    };
  }
});
</script>
